package ntd.action.impl;

import ntd.action.ActionAbs;
import ntd.action.bo.ActionInfo;
import ntd.action.bo.ActionOutBo;
import ntd.block.file.NtdFile;

public class ActionDisk extends ActionAbs {

    @Override
    public ActionInfo info() {
        return new ActionInfo("磁盘检测", "action-disk", new ActionDisk());
    }

    @Override
    public ActionOutBo handle() {
        return new ActionOutBo(NtdFile.listRoots());
    }
}
